package com.ytjj.qmyx.users.mapper;

import com.ytjj.qmyx.users.model.UsersCouponRelation;
import com.ytjj.qmyx.users.model.UsersCouponRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UsersCouponRelationMapper {
    long countByExample(UsersCouponRelationExample example);

    int deleteByExample(UsersCouponRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UsersCouponRelation record);

    int insertSelective(UsersCouponRelation record);

    List<UsersCouponRelation> selectByExample(UsersCouponRelationExample example);

    UsersCouponRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UsersCouponRelation record, @Param("example") UsersCouponRelationExample example);

    int updateByExample(@Param("record") UsersCouponRelation record, @Param("example") UsersCouponRelationExample example);

    int updateByPrimaryKeySelective(UsersCouponRelation record);

    int updateByPrimaryKey(UsersCouponRelation record);
}